﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin_Office.Master" AutoEventWireup="true" CodeBehind="Admin_OfficeAdd.aspx.cs" Inherits="TAMS.Admin.Admin_OfficeAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style15
        { 
            width: 1366px;
            width: 100%;
            border-collapse: collapse;         
        }

        .style31
        {
            width: 2px;
            }
        .style32
        {
            vertical-align:top;
            width: 809px;
            height: 20px;
        }
        .style33
        {
            width: 1px;
            }
        .style34
        {
            width: 809px;
            border: 1px solid #B5C7DE;
height: 123px;
            background-color: #EFF3FB;
            width: 809px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <table align="center" class="style15">
        <tr>
            <td class="style31" rowspan="2">
                </td>
            <td class="style34" align="center" valign="top">
                <strong><span class="style5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp; Add Office<br />
                <br />
                </span>
                </strong>
                <br />
                Office Code&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<asp:TextBox 
                    ID="ID" runat="server" MaxLength="11"></asp:TextBox>
                <asp:RequiredFieldValidator ID="IdRequired" runat="server" 
                    ControlToValidate="ID" ErrorMessage="Office code is required." 
                    ToolTip="Office code is required." ForeColor="Red" >*</asp:RequiredFieldValidator>
                <br />
                <br />
                Building Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                <asp:TextBox ID="Name" runat="server" MaxLength="30"></asp:TextBox>
                <asp:RequiredFieldValidator ID="NameRequired" runat="server" 
                    ControlToValidate="Name" ErrorMessage="Name is required." 
                    ToolTip="Name is required." ForeColor="Red">*</asp:RequiredFieldValidator>
                <br />
                <br />
                Phone No&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="PNO" runat="server" MaxLength="11" 
                    ToolTip="Write phone number without any space character"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="Name" ErrorMessage="Phone number is required" 
                    ToolTip="Phone number is required" ForeColor="Red">*</asp:RequiredFieldValidator>
                <br />
                <br />
                <br />
                <div style="color: red" align="center">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Literal ID="ErrorLiteral"  runat="server" EnableViewState="False"></asp:Literal>  
                </div>             
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Add" runat="server" CssClass="button" Text="Add" 
                    onclick="Add_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Cancel" runat="server" CausesValidation="False" 
                    CssClass="button" onclick="Cancel_Click" Text="Cancel" />
                <br />
                <br />
                </td>
            <td class="style33" rowspan="2">
                </td>
        </tr>
        <tr>
            <td class="style32" align="center">
                &nbsp;</td>
        </tr>
        </table>
</asp:Content>

